package file;

import java.io.File;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/14 11:12
 */
public class DeleterDemo {
    public static void main(String[] args) {
        File dir=new File("a");
        if (dir.exists()){
            dir.delete();
            System.out.println("目录已删除");
        }else {
            System.out.println("目录不存在");
        }
    }

}
